package cn.leedsoft.luma.exception;

import cn.leedsoft.luma.common.Reply;
import com.alibaba.fastjson.JSON;
import org.springframework.util.Assert;

/**
 * 业务逻辑异常
 * Created by leeds on 2016/7/6 13:27.
 */
public class BusinessException extends RuntimeException{
    public BusinessException(String message) {
        super(message);
    }
    public BusinessException(Reply reply) {
        super(JSON.toJSONString(reply));
    }
}
